Skip to main content

IsPointNotWithinRect

Type​

operator

Summary​

Determines whether a point is within a rectangle.

Syntax​

<Point> is not within <Rect>

Description​

Determines whether a point is within a rectangle.

Parameters​

NameTypeDescription

Point

An expression that evaluates to a Point.

Rect

An expression that evaluates to a Rectangle.

Examples​

variable tClick as Point
put the click position into tClick

variable tRect as Rectangle
put my bounds into tRect

if tClick is not within tRect then
// click was outside of widget bounds
end if
Thank you for your feedback!

Was this page helpful?